#{extends 'master.html' /}
<div class="page-block">
    <table class="shopping-items">
        <thead>
        <tr>
            <th class="delete-header"></th>
            <th>&{'OrderAdmin.list.header.date'}</th>
            <th>&{'OrderAdmin.list.header.number'}</th>

        </tr>
        </thead>
    #{list items:orderList, as:'order'}
        <tr>
            <td class="delete-column"><a class="delete-item" title="&{'Order.list.removeitem'}"
                                         href="@{Order.deleteConfirmation(order.id)}">&nbsp;</a>
            </td>
            <td>
            ${order.placeDate.format('dd/MM/yyyy hh:mm:ss')}
            </td>
            <td>
                <a href="@{Order.display(order.id)}"/>&{'OrderAdmin.list.row.order'} #${order.id}</a>
            </td>

        </tr>
    #{/list}
    </table>
</div>